namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("LogInfo")]
    public partial class LogInfo
    {
        public int Id { get; set; }

        [Required]
        [StringLength(50)]
        public string UserName { get; set; }

        [Required]
        [StringLength(100)]
        public string ModuleName { get; set; }

        [Required]
        [StringLength(100)]
        public string OperationName { get; set; }

        [Required]
        [StringLength(100)]
        public string Contents { get; set; }

        [Required]
        [StringLength(100)]
        public string OperationResult { get; set; }

        [Required]
        [StringLength(100)]
        public string CreateTime { get; set; }
    }
}
